﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace UCTT.NetFx.BTComm
{
    public partial class MainForm : Form
    {
        #region    变量 start
        #endregion 变量 end

        #region    委托与事件 start
        #endregion 委托与事件 end

        #region    构造与析构 start
        public MainForm()
        {
            InitializeComponent();
        }
        #endregion 构造与析构 end

        #region    事件处理 start
        // 
        private void MainForm_Load(object sender, EventArgs e)
        {
            this.WindowState = FormWindowState.Maximized; 
        }

        // 
        private void MainForm_FormClosing(object sender, FormClosingEventArgs e)
        {

        }

        // 操作 => 实时/分析/设置
        private void btn_Operate_Click(object sender, EventArgs e)
        {

        }

        // 动作 => 开始/停止/保存
        private void btn_Action_Click(object sender, EventArgs e)
        {
            var btn = sender as Button;
            switch (btn.Text)
            {
                case "开始":
                    break;
                case "停止":
                    break;
                case "保存":
                    break;
            }
        }

        // 退出
        private void btn_Exit_Click(object sender, EventArgs e)
        {
            this.Close();
        }
        #endregion 事件处理 end

        #region    私有方法 start
        #endregion 私有方法 end
    }
}